Skip to content

Commit 3775e33

Browse files
authored
Merge pull request #6045 from akatsoulas/admin-wagtail
Disable by default Wagtail
2 parents b2f2cfa + 8ba527c commit 3775e33

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

kitsune/settings.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -557,7 +557,6 @@ def immutable_file_test(path, url):
557557
else:
558558
OIDC_ENABLE = config("OIDC_ENABLE", default=True, cast=bool)
559559
ENABLE_ADMIN = config("ENABLE_ADMIN", default=OIDC_ENABLE, cast=bool)
560-
WAGTAIL_ENABLE_ADMIN = config("WAGTAIL_ENABLE_ADMIN", default=OIDC_ENABLE, cast=bool)
561560

562561
# Username algo for the oidc lib
563562
def _username_algo(email):
@@ -1312,6 +1311,7 @@ def filter_exceptions(event, hint):
13121311
]
13131312

13141313
# Wagtail settings
1314+
WAGTAIL_ENABLE_ADMIN = config("WAGTAIL_ENABLE_ADMIN", default=False, cast=bool)
13151315
WAGTAIL_I18N_ENABLED = True
13161316
WAGTAIL_CONTENT_LANGUAGES = LANGUAGES
13171317
WAGTAILADMIN_PERMITTED_LANGUAGES = [

0 commit comments

Comments
 (0)